package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/29.
 */

public class ConsumptionBean {


    /**
     * code : 200
     * message : 数据加载成功!
     * data : {"total":1,"per_page":15,"current_page":1,"data":[{"buyuser_id":38,"times":"2017-06-16","zongmoney":"50.50","zongtotal":"825.00","create_time":1497592474}]}
     */

    private int code;
    private String message;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 1
         * per_page : 15
         * current_page : 1
         * data : [{"buyuser_id":38,"times":"2017-06-16","zongmoney":"50.50","zongtotal":"825.00","create_time":1497592474}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * buyuser_id : 38
             * times : 2017-06-16
             * zongmoney : 50.50
             * zongtotal : 825.00
             * create_time : 1497592474
             */

            private int buyuser_id;
            private String times;
            private String zongmoney;
            private String zongtotal;
            private int create_time;

            public int getBuyuser_id() {
                return buyuser_id;
            }

            public void setBuyuser_id(int buyuser_id) {
                this.buyuser_id = buyuser_id;
            }

            public String getTimes() {
                return times;
            }

            public void setTimes(String times) {
                this.times = times;
            }

            public String getZongmoney() {
                return zongmoney;
            }

            public void setZongmoney(String zongmoney) {
                this.zongmoney = zongmoney;
            }

            public String getZongtotal() {
                return zongtotal;
            }

            public void setZongtotal(String zongtotal) {
                this.zongtotal = zongtotal;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }
        }
    }
}
